from django.urls import path,re_path
from goodsapp import views
urlpatterns = [
    re_path(r'^$',views.IndexView.as_view()),
    re_path(r'^category/(\d+)$',views.IndexView.as_view()),
    re_path(r'^category/(\d+)/page/(\d+)$',views.IndexView.as_view()),
    re_path(r'^goodsdetails/(\d+)$',views.DetailView.as_view()),
]